| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | class AbstractMenuItemDispatcher { |
||
| 2 | static isAvailable(schema) { // eslint-disable-line no-unused-vars |
||
|
|
|||
| 3 | throw new Error('isAvailable is not implemented!'); |
||
| 4 | } |
||
| 5 | |||
| 6 | |||
| 7 | static getMenuItem(schema) { // eslint-disable-line no-unused-vars |
||
| 8 | throw new Error('getMenuItem is not implemented!'); |
||
| 9 | } |
||
| 10 | } |
||
| 11 | |||
| 13 |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.